package org.puppet.game.element;

import android.graphics.Bitmap;

public class AnimationFrame {
	public Bitmap image;
	public long duration;
   	public long endTime;
    public int width;
    public int height;
    public int coreX;
    public int coreY;

    public AnimationFrame(Bitmap image, long duration) {
        this.image = image;
        this.duration = duration;
        this.width=image.width();
        this.height=image.height();

    }
    public AnimationFrame(Bitmap image, long duration,int coreX,int coreY) {
        this(image,duration);
        this.coreX=coreX;
        this.coreY=coreY;
    }
}
